  <div class="post1-container">

    <% form_tag url_for(:controller => "advertisments",  :action => "post_free_ad" ,:step=>2) do  -%>
    <div class="post-left-column">
    	<div class="post-steps-header">
          <%=  image_tag "post-step-1.jpg",:width=>"665px",:height=>"137px",:border=>"0px"%>

        </div>
        <div class="post-inner">
        	<div class="step-1-text">
            STEP 1. Select or enter what you are looking for in the form below
            </div>
            <div class="new-or-existing">
                <input type="radio" name="new-existing" value="new" checked="checked"/> New User
                <input type="radio" name="new-existing" value="existing"/> Existing User
            </div>
            <div class="post-user-type">
              I am a   <%=select_tag :user_type, options_for_select(UserType.find(:all).collect{|x| [x.name, x.stripped_name]}), :class => "search" %>
            </div>
            <div class="post-user-college">
              of       <%=select_tag :university, options_for_select(University.find(:all).collect{|x| [x.name, x.stripped_name]}), :class => "search" %>
            </div>
            <div class="i-want-to">


              <%=select_tag "people", "<option>I want job, books, PG...</option>",
                :onclick=>"$('category_block_id').innerHTML = $('user_type_'+$F('user_type')).innerHTML" -%>
              <div id="category_block_id" style="#ffffff;border: 0px solid; #000"></div>

              <div id="category_block_repo" style="#ffffff;display:none;">
                <% @user_types.each do |user_type| %>
                  <div id="user_type_<%=user_type.stripped_name -%>" >
                  <% user_type.categories.each do |category| %>
                    <div style="float:left;width:150px;height:200px;border:0px solid #000;font-weight:normal">
                      <h3 style="font-weight:bold;">
                        <%=image_tag category.stripped_name+'_icon.jpg' -%><%= category.name %>
                      </h3>

                      <%category.sub_categories.each do |sub_category|%>
                        <%=radio_button(:sub_category, :stripped_name, sub_category.stripped_name) -%><%= sub_category.name -%><br />
                      <%end%>
                    </div>
                  <%end%>
                  <div style ="clear:both;margin:0"> </div>
                  </div>
                <%end%>   
              </div>

            <div style ="clear:both">
              <hr size="1" color="#cccccc">
              <div class="post-user-name">
                  My name is* <%= text_field :user, :full_name -%>
                  <div class="post-user-name-max">max. 25 characters</div>
              </div>
              <div class="post-user-mobile">
                Mobile* <%= text_field :user, :mobile_no -%>
                <div class="post-user-mobile-eg">max. 25 characters</div>
              </div>
              <div class="post-user-email">
                E-mail ID*&nbsp;&nbsp;&nbsp; <%= text_field :user, :email -%>
                <div class="post-user-email-max">max. 40 characters</div>
              </div>
              
              <%#*<div class="post-user-college-email">%>
            	<%#*University E-mail ID*%>
            	<%#= text_field 'user', 'university_email' %>
                <%#*<div class="post-user-college-eg">%>
                	<%#*For example : &lt;yourname&gt;@du.ac.in%>
                <%#*</div>%>
              <%#*</div>%>
              <div class="proceed-button">
                <%= image_submit_tag("proceed.jpg") -%>
              </div>
            </div>
            <div class="verification-message">
              <%=image_tag "verification-message.jpg", :border=>"0", :width=>"214px", :height=>"46px"%>

            </div>

        </div>
        </div></div>
        <div class="post-right-column">
          <div class="post-tips">

            <%=image_tag "post-tips.jpg", :border=>"0"%>
          </div>
        </div>
    <%end -%>
  </div>